package com.yiyahui.project.erp.mapper;

import java.util.List;
import com.yiyahui.project.erp.domain.YiyaChargeProject;
import org.apache.ibatis.annotations.Param;

/**
 * 收费项目Mapper接口
 * 
 * @author yiyahui
 * @date 2020-05-12
 */
public interface YiyaChargeProjectMapper 
{
    /**
     * 查询收费项目
     * 
     * @param id 收费项目ID
     * @return 收费项目
     */
    public YiyaChargeProject selectYiyaChargeProjectById(Long id);

    /**
     * 查询收费项目列表
     * 
     * @param yiyaChargeProject 收费项目
     * @return 收费项目集合
     */
    public List<YiyaChargeProject> selectYiyaChargeProjectList(YiyaChargeProject yiyaChargeProject);

    /**
     * 新增收费项目
     * 
     * @param yiyaChargeProject 收费项目
     * @return 结果
     */
    public int insertYiyaChargeProject(YiyaChargeProject yiyaChargeProject);

    /**
     * 修改收费项目
     * 
     * @param yiyaChargeProject 收费项目
     * @return 结果
     */
    public int updateYiyaChargeProject(YiyaChargeProject yiyaChargeProject);

    /**
     * 删除收费项目
     * 
     * @param id 收费项目ID
     * @return 结果
     */
    public int deleteYiyaChargeProjectById(Long id);

    /**
     * 批量删除收费项目
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteYiyaChargeProjectByIds(Long[] ids);

    List<YiyaChargeProject> selectByIds(@Param("ids") List<Long> ids);
}
